import pygame


class Menus:  # store the menus
    
    @classmethod
    def init(cls):
        # main menu
        from game.ui.main_menu import MainMenu
        cls.main_menu_group = pygame.sprite.LayeredUpdates()
        cls.main_menu = MainMenu(
            (cls.main_menu_group, ),
        )
        
        # settings menu
        from game.ui.settings_menu import SettingsMenu
        cls.settings_menu_group = pygame.sprite.LayeredUpdates()
        cls.settings_menu = SettingsMenu(
            (cls.settings_menu_group, ),
        )


        # game menu
        from game.ui.game_menu import GameMenu
        cls.game_menu_group = pygame.sprite.LayeredUpdates()
        cls.game_menu = GameMenu(
            (cls.game_menu_group, ))

        # pause menu
        from game.ui.pause_menu import PauseMenu
        cls.pause_menu_group = pygame.sprite.LayeredUpdates()
        cls.pause_menu = PauseMenu(
            (cls.pause_menu_group,),
        )

